// import { lazy } from 'react';
const routes = [
    {
        path: '/',
        redirect: '/login'
    },
    {
        path: '/login',
        component: () => import('@/pages/Login/index.jsx')
    },
    {
        path: '/register',
        component: () => import('@/pages/Register/index.jsx')
    }, 
    {
        path: '*',
        component:() => import('@/pages/NotFound/index.jsx')
    }
];

export default routes;